package org.tang.hool.util;

/**
 * 字符处理工具类
 *
 * @author Tang Jiujia
 * @since 2022/5/5
 */
public class StringUtil {

    /**
     * 给定单词第一个字母转换为小写
     *
     * @author Tang Jiujia
     * @since 2022/5/5
     */
    public static String toLowerFirstCase(String word) {
        char[] chars = word.toCharArray();
        chars[0] += 32;
        return String.valueOf(chars);
    }
}
